package com.hgw.Demo03_DecoratorPattern.Exercises12_7_4;

/**
 * Data time:2021/12/14 19:18
 * StudentID:2019112118
 * Author:hgw
 * Description: 抽象装饰
 */
public class PhoneDecorator extends Phone{
    private Phone phone;

    public PhoneDecorator(Phone phone) {
        this.phone = phone;
    }

    @Override
    public void remind() {
        phone.remind();
    }
}
